package com.itheima.edu.info.maneger.dao;

import com.itheima.edu.info.maneger.domain.Teacher;

import java.util.ArrayList;

public interface BaseTeacherDao {
    //查找所有老师
    public abstract Teacher[] findAllTeacher();
    //添加老师
    public abstract boolean addTeacher(Teacher teacher);
    //删除老师
    public abstract void deleteTeacher(String id);
    //获取id
    public abstract int getIndex(String id);
    //修改老师
    public abstract void updateTeacher(String updateId, Teacher newteacher);
}
